package com.hualan.mapper;

import com.hualan.pojo.InformBulletin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface InformBulletinMapper {
    List<InformBulletin> selectAll();
    InformBulletin selectById(Integer id);
    int insert(InformBulletin informBulletin);
    int update(InformBulletin informBulletin);
    int deleteById(Integer id);
    List<InformBulletin> selectByKeyword(@Param("keyword") String keyword);
}